package com.hunter2.standard.entity;

import java.util.Date;

public class CvProject {
	private Integer id;

	private Date createTime;

	private Date updateTime;

	private Integer candidateid;

	private Integer processStage;

	private String startTime;

	private String endTime;

	private String projectName;

	private String company;

	private String content;

	private String duty;

	private String achieve;

	private String city;

	private String info;

	private Float score;

	private Integer flag;

	private String projectInfo;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getCandidateid() {
		return candidateid;
	}

	public void setCandidateid(Integer candidateid) {
		this.candidateid = candidateid;
	}

	public Integer getProcessStage() {
		return processStage;
	}

	public void setProcessStage(Integer processStage) {
		this.processStage = processStage;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime == null ? null : startTime.trim();
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime == null ? null : endTime.trim();
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName == null ? null : projectName.trim();
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company == null ? null : company.trim();
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content == null ? null : content.trim();
	}

	public String getDuty() {
		return duty;
	}

	public void setDuty(String duty) {
		this.duty = duty == null ? null : duty.trim();
	}

	public String getAchieve() {
		return achieve;
	}

	public void setAchieve(String achieve) {
		this.achieve = achieve == null ? null : achieve.trim();
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city == null ? null : city.trim();
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info == null ? null : info.trim();
	}

	public Float getScore() {
		return score;
	}

	public void setScore(Float score) {
		this.score = score;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getProjectInfo() {
		return projectInfo;
	}

	public void setProjectInfo(String projectInfo) {
		this.projectInfo = projectInfo == null ? null : projectInfo.trim();
	}

	public String write2Line(CvProject pro) {
		// 17
		String line = "\\N" + "\t" + "\\N" + "\t" + "\\N" + "\t" + pro.getCandidateid() + "\t" + "\\N" + "\t"
				+ pro.getStartTime() + "\t" + pro.getEndTime() + "\t" + pro.getProjectName() + "\t" + pro.getCompany()
				+ "\t" + pro.getContent() + "\t" + pro.getDuty() + "\t" + pro.getAchieve() + "\t" + pro.getCity() + "\t"
				+ pro.getInfo() + "\t" + "\\N" + "\t" + pro.getProjectInfo() + "\t" + "1" + "\t";
		return line;
	}

	@Override
	public String toString() {
		return "CvProject [id=" + id + ", createTime=" + createTime + ", updateTime=" + updateTime + ", candidateid="
				+ candidateid + ", processStage=" + processStage + ", startTime=" + startTime + ", endTime=" + endTime
				+ ", projectName=" + projectName + ", company=" + company + ", content=" + content + ", duty=" + duty
				+ ", achieve=" + achieve + ", city=" + city + ", info=" + info + ", score=" + score + ", flag=" + flag
				+ ", projectInfo=" + projectInfo + "]";
	}

}